package com.zucc.controller.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-05 4:56 下午
 */
@Data
@ApiModel("修改通知参数")
public class NoticeModifyReq {

    @ApiModelProperty(value = "通知编号", required = true)
    @NotNull(message = "通知编号不能为空")
    private Long id;

    @ApiModelProperty(value = "通知类型（枚举），0:普通，1:告警，2:重要")
    private Integer type;

    @ApiModelProperty(value = "通知标题")
    private String title;

    @ApiModelProperty(value = "通知内容")
    private String content;

    @ApiModelProperty(value = "通知发送方")
    private String sender;

    @ApiModelProperty(value = "通知发送时间")
    private String sendDate;
}
